﻿/*+-------------------------------------------------------------------------+
 *|							GateShift Server Database						|
 *+-------------------------------------------------------------------------+
 *|																			|
 *|		Tool Name : Database Changeset Updater								|
 *|		ChangeSet :	1														|
 *|																			|
 *|		   Author : TMYates													|
 *|  Created Date :	09/27/2008												|
 *|	Modified Date : 09/27/2008												|
 *|																			|
 *+-------------------------------------------------------------------------+*/

-- Declare Variables
DECLARE @currentVersion smallint
 
-------------------------------------------------------------------------------

--Increment for every database change
SET @currentVersion = 1
 
-------------------------------------------------------------------------------
 
UPDATE
	[dbo].[Version]
SET
	[dbo].[Version].FeatureVersion = @currentVersion
WHERE
	[dbo].[Version].FeatureName = 'Database'
	
-------------------------------------------------------------------------------